<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {% load static %}
    <script src="{% static 'jQuery-3.5.1.js' %}"></script>
    <link rel="stylesheet" href="{% static 'bootstrap-3.4.1-dist/css/bootstrap.min.css' %}">
    <script src="{% static 'bootstrap-3.4.1-dist/js/bootstrap.min.js' %}"></script>
    <script src="/static/js/csrf.js"></script>

    <style>

    </style>

</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading">批量创建的情况</div>
                <div class="panel-body">
                   <h3>成功创建的用户</h3>
                    <table class="table table-hover table-striped">
                        <thead>
                        <tr>
                            <th>学号/职工号</th>
                            <th>状态</th>
                        </tr>
                        </thead>
                        <tbody>
                      {% for user in success_user %}
                          <tr>
                            <td>{{ user.0 }}</td>
                             <td>创建成功</td>
                        </tr>
                          {% empty %}
                         {{ msg }}
                      {% endfor %}

                        </tbody>
                    </table>
                  <h3>创建失败的用户</h3>
                    <table class="table table-hover table-striped">
                        <thead>
                        <tr>
                            <th>学号/职工号</th>
                            <th>状态</th>
                        </tr>
                        </thead>
                        <tbody>
                      {% for user in error_user %}
                          <tr>
                            <td>{{ user.0 }}</td>
                            <td>创建失败</td>
                        </tr>
                          {% empty %}
                          {{ msg }}
                      {% endfor %}

                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>